import { ElMessage, ElMessageBox } from "element-plus";
export function hinit(message, type = "success") {
  ElMessage({
    message,
    type,
  });
}

export const xiaoxi = (proxy, Warning) => {
  ElMessageBox.confirm(proxy, Warning, {
    confirmButtonText: "确认",
    cancelButtonText: "取消",
    type: "warning",
  });
};
